function LoginRequest(id,pass){
    this.id = "Login";
    this.playerId = id;
    this.pass = pass;
};

function GetAllBattlePlayerRequest(){
    this.id = "GetAllBattlePlayer";
};

function RequestBattleRequest(id){
    this.id = "RequestBattle";
    this.enemyId = id;
};

function BattleReplyNotify(id,result){
    this.id = "BattleReply";
    this.result = result;
    this.enemyId = id;
};

function RequestPlayNofity(id,cards,isguard){
    this.id = "RequestPlay";
    this.playerId = id;
    this.cards = cards;
    this.isguard = isguard;
};